home *** CD-ROM | disk | FTP | other *** search
- Path: vixen.cso.uiuc.edu!usenet
- From: doc@uiuc.edu (Jim Marco)
- Newsgroups: comp.os.msdos.programmer,comp.lang.c
- Subject: problems using int 25h
- Date: 30 Mar 1996 17:54:07 GMT
- Organization: A temporary reversal of entropy
- Message-ID: <4jjsfv$g41@vixen.cso.uiuc.edu>
- Reply-To: doc@uiuc.edu
- NNTP-Posting-Host: ux5.cso.uiuc.edu
-
- I'm trying to write a program (in Turbo C 2.0) that scans the hard disk looking
- for certain file signatures. I want this program to scan sector by sector, so
- I tried using int 25h via the Turbo C absread() command. The problem is, the
- program works as intended on drive C: which is a 20 meg PC-DOS 5.0 partition,
- but not on drive D: which is a 300 meg partition (same OS). The call keeps
- returning a "sector not found" error even for low sector values. Can anyone
- shed any light on this? Thanks in advance.
-
- --
- Jim Marco -- doc@uiuc.edu
-
- It's not an optical illusion, it just looks like one. -- Phil White
-